package com.jjh.pojo;

/**
 * 商家实体类
 */
public class Shop {
    /**
     * 商家id
     */
    private int Id;
    /**
     * 商家名称
     */
    private String name;
    /**
     * 商家星数
     */
    private int star;
    /**
     * 商家地址
     */
    private String address;
    /**
     * 商家描述
     */
    private String desception;
    /**
     * 商家电话
     */
    private String phone;

    public int getId() {
        return Id;
    }

    public void setId(int id) {
        Id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getStar() {
        return star;
    }

    public void setStar(int star) {
        this.star = star;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDesception() {
        return desception;
    }

    public void setDesception(String desception) {
        this.desception = desception;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "Shop{" +
                "Id=" + Id +
                ", name='" + name + '\'' +
                ", star=" + star +
                ", address='" + address + '\'' +
                ", desception='" + desception + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }
}
